#ifndef GLOBAL_VARIANT_H
#define GLOBAL_VARIANT_H

//全局变量

enum DatabaseOperateStatus{
    AlterRegisterNoAffectedType,
    AlterRegisterFailType,
    AlterRegisterSuccessType,
    RegisterFailType,
    RegisterSuccessType,
    AccountAlreadyExistentType,
    AccountNoExistentType,
    PasswordWrongType,
    PasswordRightType,
    DatabaseSqlOperateWrong,
};

enum DatabaseOperatePermission{
    Administrator,//0
    Teacher,//1
    Student,//2
};


#endif // GLOBAL_VARIANT_H
